
// Source File Name:   CTBRowException.java

package com.sunwayhorizo.health.hl7.common;


import java.util.HashMap;
import java.util.Map;
import java.util.Vector;


// Referenced classes of package oracle.apps.ctb.fwk.base.common:
//            CTBException

public class RowException extends Hl7Exception
{

    public static final String RCS_ID = "$Header: CTBRowException.java 115.7 2003/10/27 06:39:39 hcops noship $";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: CTBRowException.java 115.7 2003/10/27 06:39:39 hcops noship $", "oracle.apps.ctb.fwk.base.common");
    public static final String NAME_PARAM = "NAME_PARAM";
    public static final String KEY_PARAM = "KEY_PARAM";

    public void initalize()
    {
        m_Attrs = new Vector();
        m_Attrs.addElement("TYPE_PARAM");
        m_Attrs.addElement("CODE_PARAM");
        m_Attrs.addElement("MESSAGE_PARAM");
        m_Attrs.addElement("NAME_PARAM");
        m_Attrs.addElement("KEY_PARAM");
    }

    public RowException()
    {
        initalize();
    }

    public RowException(String s, HashMap hashmap, String s1, String s2,
                        ServiceException[] aserviceexception,
                        ServiceException[] aserviceexception1)
    {
        initalize();
//        m_service = new ServiceRowException(s, hashmap, s1, s2, aserviceexception, aserviceexception1);
    }

    public RowException(ServiceRowException servicerowexception)
    {
        initalize();
        m_service = servicerowexception;
    }

    public String getName()
    {
        return ((ServiceRowException)m_service).getName();
    }

    public Map getKey()
    {
        return ((ServiceRowException)m_service).getKey();
    }

}
